package com.pomelo.tiku.activities

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import com.pomelo.tiku.R

class FlashActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_flash)
        Handler(Looper.getMainLooper()).postDelayed({
             startActivity(Intent(this@FlashActivity,MainActivity::class.java))
             finish()
        },500)
    }
}